'''def interview(interviewee):
    print("求职者是" + interviewee)
    print("把求职者带到3号会议室")
    print("请求职者 完成答卷")
    print("让测试经理来面试 求职者")
    print("让技术总监面试 求职者")
interview('小一')'''
#
# def qiuhe(num1, num2):
#     return num1 + num2
#     print('这条语句在return后面，不会执行')
# ret = qiuhe(1,2)
# print(ret)
#
# def func1():
#     print('你好')
# print(func1())
# #input输入  print输出
# salary = input('请输入小一的薪资：')
# print('税后薪资是：' + str(int(salary)*75/100))

# def sum1():
#     i =0
#     num = 0
#     sum1 = 0
#     while i < 4:
#         num = int(input("请输入数字："))
#         sum1 += num
#         i += 1
#     print(f"输入数字的和为：{sum1}")
#
# sum1()

# def listsum(list1):
#     print(f"列表的总和为：{sum(list1)}")
#
# listsum([1,2,3,4,5])

# def table99():
#     for i in range(1,10):
#         for j in range(1,i+1):
#             print(f"{i} '*' {j} '=' {i*j}\t", end='')
#         print()
# table99()

# def nxntable(n):
#     for i in range(1,n+1):
#         for j in range(1,i+1):
#             print(f"{i} '*' {j} '=' {i * j}\t", end='')
#         print()
#
# nxntable(5)

# def num(list,n):
#     if n > len(list):
#         return -1
#     elif n < -len(list):
#         return -1
#     else:
#         return list[n]
#
# print(num([10,45,82,32],6))
# print(num([10,45,82,32],2))
# print(num([10,45,82,32],-1))

# def sum2(n):
#     if n == 1:
#         return 1
#     else:
#         return n+sum2(n-1)
#
# print(sum2(300))

# from collections import Counter
# def other():
#     cs = ['小明', '小张', '小黄', '小杨']
#     yf = ['小黄', '小李', '小王', '小杨', '小周']
#     sc = ['小杨', '小张', '小吴', '小冯', '小周']
#     list1 = []
#     for i in cs:
#         list1.append(i)
#     for j in yf:
#         if j not in list1:
#             list1.append(j)
#     for h in sc:
#         if h not in list1:
#             list1.append(h)
#     print(f"部门员工共有：{len(list1)}人")
#     num = 0
#     list2 = []
#     for x in list1:
#         if x in cs and x not in yf and x not in sc:
#             num += 1
#             list2.append(x)
#         if x in yf and x not in cs and x not in sc:
#             num += 1
#             list2.append(x)
#         if x in sc and x not in yf and x not in cs:
#             num += 1
#             list2.append(x)
#     print(f'只在一个部门存在的人的数量为：{num}')
#     print(list2)
#
#     list3 = cs + yf + sc
#     dic = Counter(list3)
#     for i, v in dic.items():
#         if v >= 2:
#             print(f"在两个部门以及以上的人员有：{i}")
# other()


def downorder(n):
    for i in range(n,0,-1):
        for j in range(1,i+1):
            print(f"{j} '*' {i} '=' {i * j}\t", end='')
        print()

downorder(5)